package com.gameShare.mappers.user

import com.gameShare.entity.dto.user.UserBaseInfoDto
import com.gameShare.entity.po.user.UserCenterUserInfo
import com.gameShare.entity.po.user.UserInfo
import org.apache.ibatis.annotations.Param

interface UserInfoMapper {

    fun selectById(id : String) : UserInfo?

    fun selectUserCenterUserInfo(id : String) : UserCenterUserInfo

    fun selectByEmail(@Param("email") email : String) : UserInfo

    fun selectBaseInfoByEmail(@Param("email") email: String) : UserBaseInfoDto

    fun insert(@Param("bean") bean : UserInfo)


}